<template>
	<view>
		<uni-forms ref="form" :model='userInfo' :rules="{}">
			<uni-forms-item label="" name="username">
				<uni-easyinput v-model="userInfo.username" placeholder="请输入用户名" @iconClick='iconClick'
					prefixIcon="person-filled" />
			</uni-forms-item>
			<uni-forms-item label="" name="password">
				<uni-easyinput v-model="userInfo.password" placeholder="请输入密码" prefixIcon="locked" type="password" />
			</uni-forms-item>
			<uni-forms-item label="" name="">
				<uni-easyinput type="textarea" placeholder="" />
			</uni-forms-item>
			<uni-forms-item label="" name="">
				<button type="primary" :plain="true" :loading="false" @click="login">登录</button>
			</uni-forms-item>
		</uni-forms>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				myrules:{
					username:{},
					rules:{
						required:true
					}
				},
				userInfo: {
					username: '',
					password: ''
				}
			}
		},
		methods: {
			
		}
	}
</script>

<style>

</style>
